// vite.config.ts
import vueJsx from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/@vitejs+plugin-vue-jsx@4.0.0_vite@5.3.1_@types+node@20.14.7__vue@3.4.29_typescript@5.4.5_/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs'
import vue from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/@vitejs+plugin-vue@5.0.5_vite@5.3.1_@types+node@20.14.7__vue@3.4.29_typescript@5.4.5_/node_modules/@vitejs/plugin-vue/dist/index.mjs'
import AutoImport from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/unplugin-auto-import@0.17.6_@vueuse+core@10.11.0_vue@3.4.29_typescript@5.4.5___rollup@4.18.0/node_modules/unplugin-auto-import/dist/vite.js'
import ElementPlus from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/unplugin-element-plus@0.8.0_rollup@4.18.0/node_modules/unplugin-element-plus/dist/vite.mjs'
import IconsResolver from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/unplugin-icons@0.19.0_@vue+compiler-sfc@3.4.29_vue-template-compiler@2.7.16/node_modules/unplugin-icons/dist/resolver.js'
import Icons from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/unplugin-icons@0.19.0_@vue+compiler-sfc@3.4.29_vue-template-compiler@2.7.16/node_modules/unplugin-icons/dist/vite.js'
import { ElementPlusResolver } from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/unplugin-vue-components@0.27.0_@babel+parser@7.24.7_rollup@4.18.0_vue@3.4.29_typescript@5.4.5_/node_modules/unplugin-vue-components/dist/resolvers.js'
import Components from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/unplugin-vue-components@0.27.0_@babel+parser@7.24.7_rollup@4.18.0_vue@3.4.29_typescript@5.4.5_/node_modules/unplugin-vue-components/dist/vite.js'
import { viteMockServe } from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/vite-plugin-mock@3.0.2_esbuild@0.21.5_mockjs@1.1.0_vite@5.3.1_@types+node@20.14.7_/node_modules/vite-plugin-mock/dist/index.mjs'
import { defineConfig } from 'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/node_modules/.pnpm/vite@5.3.1_@types+node@20.14.7/node_modules/vite/dist/node/index.js'
import { fileURLToPath, URL } from 'node:url'

const __vite_injected_original_import_meta_url =
  'file:///G:/mycode/fronts/frontlearning/cases/idphoto-front/vite.config.ts'
const vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    ElementPlus({}),
    AutoImport({
      include: [
        /\.[tj]sx?$/,
        // .ts, .tsx, .js, .jsx
        /\.vue$/,
        /\.vue\?vue/,
        // .vue
        /\.md$/
        // .md
      ],
      imports: [
        'vue',
        'vue-router'
        // 可额外添加需要 autoImport 的组件
      ],
      dts: 'src/types/auto-imports.d.ts',
      resolvers: [
        IconsResolver({
          prefix: 'Icon'
        }),
        ElementPlusResolver()
      ],
      eslintrc: {
        enabled: false,
        // Default `false`
        filepath: './.eslintrc-auto-import.json',
        // Default `./.eslintrc-auto-import.json`
        globalsPropValue: true
        // Default `true`, (true | false | 'readonly' | 'readable' | 'writable' | 'writeable')
      }
    }),
    Components({
      // 生成自定义 `auto-components.d.ts` 全局声明
      dts: 'src/types/auto-components.d.ts',
      // 自定义组件的解析器
      resolvers: [
        IconsResolver({
          enabledCollections: ['ep']
        }),
        ElementPlusResolver()
      ],
      globs: ['src/components/**/**.{vue, md}']
    }),
    Icons({
      autoInstall: true
    }),
    viteMockServe({
      mockPath: 'mock',
      // 指向mock下的文件
      ignore: /^_/,
      // 忽略下划线开头的文件
      watchFiles: true,
      // 监听文件内容变更   默认true
      logger: true
      // 默认true
    })
  ],
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', __vite_injected_original_import_meta_url))
    }
  }
})
export { vite_config_default as default }
// # sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJHOlxcXFxteWNvZGVcXFxcZnJvbnRzXFxcXGZyb250bGVhcm5pbmdcXFxcY2FzZXNcXFxcaWRwaG90by1mcm9udFwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRzpcXFxcbXljb2RlXFxcXGZyb250c1xcXFxmcm9udGxlYXJuaW5nXFxcXGNhc2VzXFxcXGlkcGhvdG8tZnJvbnRcXFxcdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0c6L215Y29kZS9mcm9udHMvZnJvbnRsZWFybmluZy9jYXNlcy9pZHBob3RvLWZyb250L3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHZ1ZSBmcm9tICdAdml0ZWpzL3BsdWdpbi12dWUnXG5pbXBvcnQgdnVlSnN4IGZyb20gJ0B2aXRlanMvcGx1Z2luLXZ1ZS1qc3gnXG5pbXBvcnQgeyBmaWxlVVJMVG9QYXRoLCBVUkwgfSBmcm9tICdub2RlOnVybCdcbmltcG9ydCBBdXRvSW1wb3J0IGZyb20gJ3VucGx1Z2luLWF1dG8taW1wb3J0L3ZpdGUnXG5pbXBvcnQgRWxlbWVudFBsdXMgZnJvbSAndW5wbHVnaW4tZWxlbWVudC1wbHVzL3ZpdGUnXG5pbXBvcnQgSWNvbnNSZXNvbHZlciBmcm9tICd1bnBsdWdpbi1pY29ucy9yZXNvbHZlcidcbmltcG9ydCBJY29ucyBmcm9tICd1bnBsdWdpbi1pY29ucy92aXRlJ1xuaW1wb3J0IHsgRWxlbWVudFBsd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